package com.example.easyexcel.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.format.NumberFormat;
import lombok.Data;

/**
 * bank_info
 *
 * @author
 */
@Data
public class BankInfo implements Serializable {
    @ExcelProperty(value = "主键", index = 0)
    private Long id;
    @ExcelProperty(value = "类型", index = 1)
    private String type;
    @ExcelProperty(value = "总数", index = 2)
    @NumberFormat("#.##")
    private BigDecimal sum;
    @ExcelProperty(value = "名字", index = 3)
    private String name;
    @ExcelProperty(value = "描述", index = 4)
    private String descr;
    @ExcelProperty(value = "状态", index = 5)
    private Long status;
    @DateTimeFormat("yyyy年MM月dd日")
    @ExcelProperty(value = "时间", index = 6)
    private Date date;

    private static final long serialVersionUID = 1L;
}